package com.authine.cloudpivot.ext.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @program: gm-market
 * @description: 购物车列表
 * @author: wlw
 * @create: 2021-08-11 17:32
 **/
@Data
@Schema(description = "CartGoodsVo")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CartGoodsVo {
    @Schema(description = "id")
    private String id;
    @Schema(description = "商城商品id")
    private String goods_id;
    @Schema(description = "数量")
    private BigDecimal goods_number;
    @Schema(description = "商品信息")
    private MarketGoodsVo marketGoodsVo;
    @Schema(description = "未税价")
    private BigDecimal pretax_price;
    @Schema(description = "销售价")
    private BigDecimal price;
    @Schema(description = "小计")
    private BigDecimal total_amount;
}
